import {Component} from '@angular/core';
import {NwjsService} from "./service/nwjs.service";

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'demo-nwjs1';


  constructor(
    private nwjs: NwjsService
  ) {
  }

  test() {
    this.nwjs.test()
    // // @ts-ignore
    // console.log('nwDispatcher', window.nwDispatcher)
    // // @ts-ignore
    // console.log('nw', window.nw)
  }
}
